import requests


def send_requests(method, url, data, headers):
    if method == 'GET':
        res = requests.get(url=url, data=data, headers=headers)
    elif method == 'POST':
        res = requests.post(url=url, data=data, headers=headers)
    elif method == 'DELETE':
        res = requests.delete(url=url, data=data, headers=headers)

    return res
